﻿using System;
using System.CodeDom.Compiler;
using System.Diagnostics;
using Google.Protobuf;
using Google.Protobuf.Reflection;

namespace EggLink.DanhengServer.Proto
{
	// Token: 0x0200022B RID: 555
	[DebuggerDisplay("{ToString(),nq}")]
	public sealed class ChessRogueEnterNextLayerCsReq : IMessage<ChessRogueEnterNextLayerCsReq>, IMessage, IEquatable<ChessRogueEnterNextLayerCsReq>, IDeepCloneable<ChessRogueEnterNextLayerCsReq>, IBufferMessage
	{
		// Token: 0x17000741 RID: 1857
		// (get) Token: 0x060018D5 RID: 6357 RVA: 0x00046D48 File Offset: 0x00044F48
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageParser<ChessRogueEnterNextLayerCsReq> Parser
		{
			get
			{
				return ChessRogueEnterNextLayerCsReq._parser;
			}
		}

		// Token: 0x17000742 RID: 1858
		// (get) Token: 0x060018D6 RID: 6358 RVA: 0x00046D4F File Offset: 0x00044F4F
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageDescriptor Descriptor
		{
			get
			{
				return ChessRogueEnterNextLayerCsReqReflection.Descriptor.MessageTypes[0];
			}
		}

		// Token: 0x17000743 RID: 1859
		// (get) Token: 0x060018D7 RID: 6359 RVA: 0x00046D61 File Offset: 0x00044F61
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		MessageDescriptor IMessage.Descriptor
		{
			get
			{
				return ChessRogueEnterNextLayerCsReq.Descriptor;
			}
		}

		// Token: 0x060018D8 RID: 6360 RVA: 0x00046D68 File Offset: 0x00044F68
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public ChessRogueEnterNextLayerCsReq()
		{
		}

		// Token: 0x060018D9 RID: 6361 RVA: 0x00046D70 File Offset: 0x00044F70
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public ChessRogueEnterNextLayerCsReq(ChessRogueEnterNextLayerCsReq other) : this()
		{
			this.propEntityId_ = other.propEntityId_;
			this._unknownFields = UnknownFieldSet.Clone(other._unknownFields);
		}

		// Token: 0x060018DA RID: 6362 RVA: 0x00046D95 File Offset: 0x00044F95
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public ChessRogueEnterNextLayerCsReq Clone()
		{
			return new ChessRogueEnterNextLayerCsReq(this);
		}

		// Token: 0x17000744 RID: 1860
		// (get) Token: 0x060018DB RID: 6363 RVA: 0x00046D9D File Offset: 0x00044F9D
		// (set) Token: 0x060018DC RID: 6364 RVA: 0x00046DA5 File Offset: 0x00044FA5
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public uint PropEntityId
		{
			get
			{
				return this.propEntityId_;
			}
			set
			{
				this.propEntityId_ = value;
			}
		}

		// Token: 0x060018DD RID: 6365 RVA: 0x00046DAE File Offset: 0x00044FAE
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override bool Equals(object other)
		{
			return this.Equals(other as ChessRogueEnterNextLayerCsReq);
		}

		// Token: 0x060018DE RID: 6366 RVA: 0x00046DBC File Offset: 0x00044FBC
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public bool Equals(ChessRogueEnterNextLayerCsReq other)
		{
			return other != null && (other == this || (this.PropEntityId == other.PropEntityId && object.Equals(this._unknownFields, other._unknownFields)));
		}

		// Token: 0x060018DF RID: 6367 RVA: 0x00046DEC File Offset: 0x00044FEC
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override int GetHashCode()
		{
			int num = 1;
			if (this.PropEntityId != 0U)
			{
				num ^= this.PropEntityId.GetHashCode();
			}
			if (this._unknownFields != null)
			{
				num ^= this._unknownFields.GetHashCode();
			}
			return num;
		}

		// Token: 0x060018E0 RID: 6368 RVA: 0x00046E2B File Offset: 0x0004502B
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override string ToString()
		{
			return JsonFormatter.ToDiagnosticString(this);
		}

		// Token: 0x060018E1 RID: 6369 RVA: 0x00046E33 File Offset: 0x00045033
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void WriteTo(CodedOutputStream output)
		{
			output.WriteRawMessage(this);
		}

		// Token: 0x060018E2 RID: 6370 RVA: 0x00046E3C File Offset: 0x0004503C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalWriteTo(ref WriteContext output)
		{
			if (this.PropEntityId != 0U)
			{
				output.WriteRawTag(40);
				output.WriteUInt32(this.PropEntityId);
			}
			if (this._unknownFields != null)
			{
				this._unknownFields.WriteTo(ref output);
			}
		}

		// Token: 0x060018E3 RID: 6371 RVA: 0x00046E70 File Offset: 0x00045070
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public int CalculateSize()
		{
			int num = 0;
			if (this.PropEntityId != 0U)
			{
				num += 1 + CodedOutputStream.ComputeUInt32Size(this.PropEntityId);
			}
			if (this._unknownFields != null)
			{
				num += this._unknownFields.CalculateSize();
			}
			return num;
		}

		// Token: 0x060018E4 RID: 6372 RVA: 0x00046EAE File Offset: 0x000450AE
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(ChessRogueEnterNextLayerCsReq other)
		{
			if (other == null)
			{
				return;
			}
			if (other.PropEntityId != 0U)
			{
				this.PropEntityId = other.PropEntityId;
			}
			this._unknownFields = UnknownFieldSet.MergeFrom(this._unknownFields, other._unknownFields);
		}

		// Token: 0x060018E5 RID: 6373 RVA: 0x00046EDF File Offset: 0x000450DF
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(CodedInputStream input)
		{
			input.ReadRawMessage(this);
		}

		// Token: 0x060018E6 RID: 6374 RVA: 0x00046EE8 File Offset: 0x000450E8
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalMergeFrom(ref ParseContext input)
		{
			uint num;
			while ((num = input.ReadTag()) != 0U)
			{
				if (num != 40U)
				{
					this._unknownFields = UnknownFieldSet.MergeFieldFrom(this._unknownFields, ref input);
				}
				else
				{
					this.PropEntityId = input.ReadUInt32();
				}
			}
		}

		// Token: 0x04000A59 RID: 2649
		private static readonly MessageParser<ChessRogueEnterNextLayerCsReq> _parser = new MessageParser<ChessRogueEnterNextLayerCsReq>(() => new ChessRogueEnterNextLayerCsReq());

		// Token: 0x04000A5A RID: 2650
		private UnknownFieldSet _unknownFields;

		// Token: 0x04000A5B RID: 2651
		public const int PropEntityIdFieldNumber = 5;

		// Token: 0x04000A5C RID: 2652
		private uint propEntityId_;
	}
}
